// console.log(window.myApi.platform)
document.querySelector('#btn').addEventListener('click',()=>{
    myApi.handleSend()
})
// 剪切板
document.querySelector('#btn2').addEventListener('click',()=>{
    myApi.copy()
})
document.querySelector('#btn3').addEventListener('click',()=>{
    myApi.paste()
})
document.querySelector('#btn4').addEventListener('click',async ()=>{
  let imgUrls = await  myApi.captureDesktop()
    console.log(imgUrls,'imgU11rl')
    document.querySelector('#imgs').src = imgUrls
})
